package com.tj.collection.db.dao;

import com.fqgj.common.base.BaseMapper;
import com.tj.collection.db.entity.ClStageEntity;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2019-09-03
 * Time: 10:28
 */
public interface ClStageDao extends BaseMapper<ClStageEntity> {

    List<ClStageEntity> getStagesByMerchantCode(String merchantCode);

    ClStageEntity getStagesByMerchantCodeAndOverdueDays(String merchantCode, Integer overdueDays);

    ClStageEntity getStageByStageCode(String merchantCode, String stageCode);

    ClStageEntity getStageByStageName(String merchantCode, String stageName);

    List<ClStageEntity> selectMStages();
}
